package Pruebas;

import com.munichosica.myapp.dto.Persona;
import com.munichosica.myapp.exceptions.PersonaDaoException;
import com.munichosica.myapp.factory.PersonaDaoFactory;

public class TestPersona {
	public static void main(String[] args) {
		try {
			Persona []  personas=PersonaDaoFactory.create().findAll();
			for(Persona per:personas){
				System.out.println(per.getPercodigoI()+" "+per.getPernombreV()+" "
						+per.getPerpaternoV()+" "+per.getPermaternoV());
			}
		} catch (PersonaDaoException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		System.out.println("FRANK");
	}
}
